package com.example.android.worldracers;

public class SpriteBufferElement {
	
    public double mY;
    public double mX;
    public double mYMax;
    public double mScale; //scale
    private int mType; //type
    
    public SpriteBufferElement(double y, double x, double ymax,double scale, int type) {
    	mY = y;
    	mX = x;
    	mYMax = ymax;
    	mType = type;
    	
    	if(type == RoadSprite.OBJ_RIVAL) {
    		mScale = scale/2.5;
    	} else {    	
    		mScale = scale;
    	}

    }
    
    public int getType() {
    	return mType;
    }

}
